{% extends "learning_logs/base.html" %}

{% block content %}
    <h2>TachyonXue的博客 欢迎你的注册</h2>
    <form method="post" action="{% url 'users:register' %}">
        {% csrf_token %}
        {{ form.as_p }}

        <button name="submit">注册</button>

        <input type="hidden" name="next" value="{% url 'learning_logs:index' %}"/>
    </form>

{% endblock content %}